package com.tianya.service;

import com.tianya.domain.dto.ExamRequestDTO;
import com.tianya.domain.entity.Exam;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianya.domain.vo.ExamVO;
import com.tianya.domain.vo.PageResultVO;

import java.util.List;

/**
* @author 86191
* @description 针对表【exam(考试表)】的数据库操作Service
* @createDate 2025-05-24 18:59:13
*/
public interface ExamService extends IService<Exam> {

    void createExam(ExamRequestDTO examRequestDTO);

    PageResultVO<ExamVO> pageExam(Integer pageNum, Integer pageSize, ExamRequestDTO examRequestDTO);

    List<ExamVO> listExam();

    List<ExamVO> getExamByClazzId(Long clazzId);

    ExamVO getDetail(Long id);
}
